Lorem ipsum dolor sit, amet consectetur adipisicing elit. Laborum dolores reprehenderit officia voluptatibus nemo distinctio sint consectetur eos totam? Enim odit recusandae quae expedita error praesentium, doloremque quam voluptatum, nesciunt, dicta laboriosam. Porro qui dignissimos expedita, accusamus assumenda dolorem ab deleniti itaque ex, asperiores exercitationem ipsam reprehenderit libero perspiciatis. Saepe.
All paragraphs are set to be justified using an element selector
#idSelector {
border-radius: 20px;
margin:auto;
margin-top: 20px;
padding: 20px;
background-color: blue;
width: 50%;
}
.menu {
margin-top: 10px;
background-color: black;
}
.menu-item
{
border-right: 1px solid gray;
font-family: Georgia, 'Times New Roman', Times, serif;
color: white;
text-align: center;
padding-right: 5px;
margin: 0px;
background-color: black;
marker: none;
display: inline;
}
.menu-item:hover
{
color: red;
}
If need be, a rule can be applied to multiple elements, classes, ids or a combination of them. However, if any of the selectors makes the rule invalid, it will not be applied to any of the selectors. Use forgiving selectors to allow for invalid rules for some selectors.